package cn.cqie.attendance.teacher.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author wqh
 * @date 2021/7/7 16:29
 */
@Data
@Accessors(chain = true)
@ApiModel(value="ReplyHomeworkRes对象", description="查看批复作业响应参数参数")
public class ReplyHomeworkRes implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "作业id", type = IdType.AUTO)
    private Integer id;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "提交时间")
    private Date completeTime;

    @ApiModelProperty(value = "项目名称")
    private String courseName;

    @ApiModelProperty(value = "作业主题")
    private String homeworkTheme;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "发布时间")
    private Date publishTime;

    @ApiModelProperty(value = "实训老师")
    private String trainTeacherName;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "计划完成时间")
    private Date endTime;

    @ApiModelProperty(value = "院系")
    private String collegeName;

    @ApiModelProperty(value = "专业")
    private String majorName;

    @ApiModelProperty(value = "年级")
    private String gradeName;

    @ApiModelProperty(value = "班级")
    private String className;

    @ApiModelProperty(value = "小组")
    private String groupName;

    @ApiModelProperty(value = "专业")
    private String stuNumber;

    @ApiModelProperty(value = "学生姓名")
    private String stuName;

    @ApiModelProperty(value = "作业类型")
    private Integer homeworkType;
}
